//
// Created by lzw on 24-10-19.
//

#include "ast.h"

char *let_statements_token_literal(struct s_letstatement *ls){
    return ls->token.literal;
}

char *program_token_literal(struct s_program *program)
{
    if (program->length > 0)
    {
        return program->statements[0]->node.token_literal(&program->statements[0]->node);
    }
    else
        return "";
}